package de.mhus.lib.mandala.tag;

import de.mhus.lib.mandala.Response;
import de.mhus.lib.mandala.attributes.ArrayAttribute;

public class Options extends TagBindData {

	private ArrayAttribute options;

	public Options(ArrayAttribute options) {
		this.options = options;
	}

	@Override
	public void doRender(Response out, String name, String type) {
		out.print("options: ");
		getOptions().renderElementName(out);
	}

	public ArrayAttribute getOptions() {
		return options;
	}

	public void setOptions(ArrayAttribute options) {
		this.options = options;
	}

}
